The NCDF_ATTRENAME procedure renames an attribute in a NetCDF file.
NCDF_ATTRENAME, Cdfid [, Varid] Oldname, Newname [, /GLOBAL ]
The NetCDF ID, returned from a previous call to NCDF_OPEN, NCDF_CREATE, or NCDF_GROUPDEF.
The NetCDF variable ID, returned from a previous call to NCDF_VARDEF or NCDF_VARID, or the name of the variable. If the GLOBAL keyword is set, this argument must be omitted.
A scalar string containing the attribute’s current name.
A scalar string containing the attribute’s new name.
Set this keyword to rename a global attribute.
Pre 4.0 |
Introduced |